.country-select-container {
    height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
  
    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 3.2vw 4vw;
      border-bottom: 1px solid #eee;
      background-color: #fff;
      position: sticky;
      top: 0;
      z-index: 100;
  
      .back-icon {
        font-size: 5.33vw;
        color: #333;
        cursor: pointer;
      }
  
      .title {
        font-size: 4.8vw;
        font-weight: 600;
        color: #333;
      }
  
      .placeholder {
        width: 5.33vw;
      }
    }
  
    .search-container {
      padding: 1.2vw 4vw; // 最小化上下padding
      border-bottom: 1px solid #eee;
      background-color: #fff;
      position: sticky;
      top: 0;
      z-index: 99;
      transition: transform 0.3s ease;
  
      &.search-hidden {
        transform: translateY(-100%);
      }
  
      // 优化van-field组件样式
      :deep(.van-field) {
        padding: 0.8vw 0; // 最小化内部padding
        display: flex; // 使用flex布局
        align-items: center; // 垂直居中对齐
  
        .van-field__left-icon {
          margin-right: 1.6vw; // 最小化图标间距
          display: flex; // 图标容器使用flex
          align-items: center; // 图标垂直居中
  
          .van-icon {
            font-size: 3.6vw; // 最小化图标尺寸
            color: #969799;
          }
        }
        .van-field__body {
          width: 100%;
        }
        .van-cell__value {
          display: flex; // 文字容器使用flex
          align-items: center; // 文字垂直居中
  
          .van-field__value {
            font-size: 3.2vw; // 最小化字体
            line-height: 4vw; // 最小化行高
          }
        }
  
        .van-field__control {
          font-size: 3.2vw; // 最小化字体
          line-height: 4vw; // 最小化行高
          display: flex; // 输入框使用flex
          align-items: center; // 输入框内容垂直居中
  
          &::placeholder {
            color: #c8c9cc;
            font-size: 3.2vw; // 保持一致的字体大小
          }
        }
      }
    }
  
    .hot-countries {
      background-color: #fff;
  
      .section-title {
        padding: 2.8vw 4vw 1.8vw;
        font-size: 3.2vw;
        color: #666;
        background-color: #f8f9fa;
        position: sticky;
        top: 0;
        z-index: 98;
        margin: 0;
      }
  
      .hot-country-list {
        .hot-country-item {
          display: flex;
          align-items: center;
          padding: 2.8vw 4vw 2.8vw 4vw;
          margin-right: 3vw;
          border-bottom: 1px solid #f5f5f5;
          cursor: pointer;
          background-color: #fff;
  
          &:hover {
            background-color: #f8f9fa;
          }
  
          &:active {
            background-color: #e9ecef;
          }
  
          .country-name {
            flex: 1;
            font-size: 3.8vw;
            color: #333;
          }
  
          .country-code {
            font-size: 3.8vw;
            color: #666;
            font-weight: 500;
          }
        }
      }
    }
  
    .all-countries-section {
      background-color: #fff;
  
      .section-title {
        padding: 3.2vw 4vw 2.13vw;
        font-size: 3.73vw;
        color: #666;
        background-color: #f8f9fa;
        position: sticky;
        top: 0;
        z-index: 98;
        margin: 0;
      }
    }
  
    .main-content {
      flex: 1;
      display: flex;
      position: relative;
      // background-color: #f8f9fa;
      overflow: hidden;
  
      .scroll-container {
        flex: 1;
        overflow-y: auto;
        height: 100%;
        //  background-color: #f8f9fa;
        .letter-group {
          .letter-title {
            padding: 1.8vw 4vw;
            font-size: 3.2vw;
            color: #666;
            background-color: #f8f9fa;
            font-weight: 600;
            position: sticky;
            top: 0;
            z-index: 97;
            margin: 0;
          }
        }
  
        .country-list {
          .country-item {
            display: flex;
            align-items: center;
            padding: 2.8vw 4vw 2.8vw 4vw;
            margin-right: 3vw;
            border-bottom: 1px solid #f5f5f5;
            cursor: pointer;
            background-color: #fff;
  
            &:hover {
              background-color: #f8f9fa;
            }
  
            &:active {
              background-color: #e9ecef;
            }
  
            .country-flag {
              font-size: 4.8vw;
              margin-right: 2.8vw;
            }
  
            .country-name {
              flex: 1;
              font-size: 3.8vw;
              color: #333;
            }
  
            .country-code {
              font-size: 3.8vw;
              color: #666;
              font-weight: 500;
            }
          }
        }
      }
  
      .alphabet-sidebar {
        position: fixed;
        right: 2vw;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 100;
  
        .alphabet-item {
          width: 4vw;
          height: 4vw;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-bottom: 0.2vw;
          font-size: 2vw;
          color: #2d67b0;
          cursor: pointer;
          font-weight: 500;
  
          &:hover {
            background-color: rgba(45, 103, 176, 0.1);
            border-radius: 50%;
          }
  
          &:active {
            background-color: rgba(45, 103, 176, 0.2);
            border-radius: 50%;
          }
        }
      }
    }
  
    // 选中状态样式
    .hot-country-item.selected,
    .country-item.selected {
      background-color: #f0f8ff;
      border-left: 3px solid #1989fa;
    }
  
    .selected-icon {
      color: #1989fa;
      font-size: 16px;
      margin-left: auto;
    }
  }